package com.zhengxing.jienci.user.domain.rbac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * UserRole
 *
 * @author philbert
 * @version 1.00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("SYS_USER_ROLE")
public class UserRole {

    @TableId("ID")
    private String id;
    @TableField("USER_ID")
    private String userId; // 用户ID
    @TableField("ROLE_ID")
    private String roleId; // 角色ID
    @TableField("CREATED_AT")
    private Long createdAt;
    @TableField("UPDATED_AT")
    private Long updatedAt;

}
